<template>
  <div class="bank">
    <div
      class="underline"
      style="width:120px;"
    >
      <span class="title1 color1 zIndex fontBold">银行转账</span>
    </div>
    <div class="login_content">
      <div class="content">
        <div class="contentInfo">
          <div class="contentInfoBox flex justify_between flex_column">
            <p class="font400 content3 color3">
              会员续费/理事会员年费
            </p>
            <p class="font400 content2 color6">
              2020-08-01 12:23:42
            </p>
          </div>
        </div>
        <!-- <div class="signNum flex justify_between align_center">
          <p class="font400 content3 color3 flex align_center">
            <svg
              class="icon"
              aria-hidden="true"
            >
              <use xlink:href="#icon-jifenzhongxin" />
            </svg>
            积分
          </p>
          <p class="font400 color6 content3">
            20
          </p>
        </div> -->
        <div class="Membership">
          <div class="MembershipBox">
            <div class="MembershipBoxHeader flex justify_between align_center">
              <p class="font400 content3 color3">
                待支付：
              </p>
              <p class="content4 color2 font400">
                ￥15000.00
              </p>
            </div>
            <div class="MembershipContent">
              <p
                class="font400 content3 color3"
              >
                订单已生成，请将费用转入指定银行账户,点击复制信息，一键复制发给财务，请在转账备注中填写备注信息。耐心等待工作人员审核。
              </p>
            </div>
            <div class="MembershipInfo">
              <p>
                <span class="font400 content3 color2">户名:</span>
                <span class="font400 content3 color6">深圳市房地产协会</span>
              </p>
              <p>
                <span class="font400 content3 color2">汇款账号:</span>
                <span class="font400 content3 color6">231454674797941</span>
              </p>
              <p>
                <span class="font400 content3 color2">银行:</span>
                <span class="font400 content3 color6">交通银行</span>
              </p>
              <p>
                <span class="font400 content3 color2">备注信息:</span>
                <span
                  class="font400 content3 color6 line20"
                >万科企业股份有限公司/2022年理事会员年费</span>
              </p>
            </div>
            <div class="copy font400 color4 content2">
              复制
            </div>
          </div>
        </div>
        <p class="understand content3 font400 color3">
          遇到问题？联系我们寻求帮助
        </p>
      </div>
    </div>
  </div>
  <div class="fexd_footer">
    <div class="footer_btn flex align_center justify_between">
      <div class="flex align_center">
        <div
          @click="submit"
          class="agree font400 content3 color4"
        >
          确认
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
// import { ref } from 'vue'
import { useRouter } from 'vue-router'
// import { useStore } from 'vuex'
const router = useRouter()
// const store = useStore()

// const back = () => {
//   if (store.state.from.path !== '/') {
//     router.back()
//   } else {
//     router.replace('/')
//   }
// }

const submit = () => {
  router.replace({ path: '/userCenter' })
}

</script>

<style lang="less" scoped>
.bank {
    padding: 0 30px 80px;
    margin-top: 40px;
    .login_content {
        margin-top: 20px;
        .contentInfo {
            width: 100%;
            background: #fff;
            border-radius: 10px;
            margin: 20px 0;
            .contentInfoBox {
                padding: 15px;
                p:last-child {
                    margin-top: 25px;
                }
            }
        }
        .signNum {
            background: #fff;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            .icon {
                width: 17px;
                height: 17px;
                margin-right: 7px;
            }
        }
    }
    .understand {
        margin-top: 20px;
        text-align: center;
        text-decoration: underline;
    }
    .Membership {
        width: 100%;
        background: #ffffff;
        border-radius: 5px;
        .MembershipBox {
            padding: 15px;
        }
        .MembershipContent {
            margin-top: 20px;
            margin-bottom: 26px;
            p {
                line-height: 20px;
            }
            p:last-child {
                margin-top: 20px;
            }
        }
        .MembershipInfo {
            margin-bottom: 20px;
            p {
                margin-bottom: 5px;
                span:last-child {
                    margin-left: 5px;
                }
            }
        }
        .copy {
            width: 82px;
            height: 30px;
            background: #12142e;
            border-radius: 5px;
            text-align: center;
            line-height: 30px;
        }
    }
}
.fexd_footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #fff;
    box-shadow: 0px 2px 12px 2px rgba(22, 12, 6, 0.09);
    .footer_btn {
        padding: 0 30px;
        height: 100%;
        text-align: center;
        .agree {
            width: 315px;
            height: 44px;
            background: #ff7a1f;
            border-radius: 5px;
            text-align: center;
            line-height: 44px;
        }
    }
}
@media (min-width: 750px) {
  .bank {
    padding: 0 30px 80px;
    margin-top: 40px;
    .login_content {
        margin-top: 20px;
        .contentInfo {
            width: 100%;
            background: #fff;
            border-radius: 10px;
            margin: 20px 0;
            .contentInfoBox {
                padding: 15px;
                p:last-child {
                    margin-top: 25px;
                }
            }
        }
        .signNum {
            background: #fff;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            .icon {
                width: 17px;
                height: 17px;
                margin-right: 7px;
            }
        }
    }
    .understand {
        margin-top: 20px;
        text-align: center;
        text-decoration: underline;
    }
    .Membership {
        width: 100%;
        background: #ffffff;
        border-radius: 5px;
        .MembershipBox {
            padding: 15px;
        }
        .MembershipContent {
            margin-top: 20px;
            margin-bottom: 26px;
            p {
                line-height: 20px;
            }
            p:last-child {
                margin-top: 20px;
            }
        }
        .MembershipInfo {
            margin-bottom: 20px;
            p {
                margin-bottom: 5px;
                span:last-child {
                    margin-left: 5px;
                }
            }
        }
        .copy {
            width: 82px;
            height: 30px;
            background: #12142e;
            border-radius: 5px;
            text-align: center;
            line-height: 30px;
        }
    }
}
.fexd_footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #fff;
    box-shadow: 0px 2px 12px 2px rgba(22, 12, 6, 0.09);
    .footer_btn {
        padding: 0 30px;
        height: 100%;
        text-align: center;
        .agree {
            width: 315px;
            height: 44px;
            background: #ff7a1f;
            border-radius: 5px;
            text-align: center;
            line-height: 44px;
        }
    }
}
}
</style>
